package com.song.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName t_orders
 */
@TableName(value ="t_orders")
@Data
public class Orders implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "pid")
    private Long pid;

    /**
     * 
     */
    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 状态：0 未付款 1 未发货 2 已发货 3 收货 4 退货
     */
    @TableField(value = "status")
    private Integer status;

}